import com.typesafe.config.ConfigFactory

import scala.collection.mutable

/**
  * description:
  * Rabcheng
  * Date:2019/4/6 17:06
  **/
object Topic {

  def main(args: Array[String]): Unit = {

//    val config = ConfigFactory.load()
//
//
//    val str1 = config.getString("NLPtopic").split(",")
//    val str2 = config.getString("BaseFlowtopic").split(",")
//    val str3 = config.getString("Batopic").split(",")
//
//    println(str1.toString)
//    println(str2)
//    println(str3)
//
//    val strings: Array[String] = str1 union str2 union str3
//
//    for(s <- strings){
//      println(s)
//    }


    val ssssss= "s,d,g,h,k"
    val arr: Array[String] = ssssss.split(",")

    println("" >= "2")
    println(""!="w")


    println("--------------------")
    val sub = "1"
    println(Array("1","2").contains(sub))

    println("-----------------")
    var ss = ""
    for(a <- arr){
      ss = ss.concat("\"").concat(a).concat("\"").concat(",")
    }
    ss=ss.substring(0,ss.length-1)
    println(ss)

    println("........................................")

    val hhhhh = "ss,"
    println(hhhhh.split(",").contains(" "))

    //


    println(mutable.ArrayBuffer(1,2,3))

  }

}
